﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GeoRef;
using NUnit.Framework;

namespace GeoRefUnitTest
{
    /// <summary>
    /// This class contains all the tests for the georef module.
    /// </summary>   
    
    [TestFixture]
    public class GeoTest
    {   
        [Test]
        public void Test()
        {
            
        }

        [Test]
        public void TestConsistency()
        {
            GeoRoute gr = new GeoRoute(new GeoLoc("43.786410, 11.265180", "Largo Adone Zoli, Pisa", "Partenza"), new GeoLoc("43.718460, 10.381560", "Via Aurelia Nord/SS1", "Arrivo" ));
            Assert.IsNotNull(gr);
            Assert.IsFalse(gr.IsConsistent);
        }
    }
}
